cpuidle: remove hpet access in hpet_broadcast_exit
authorKeir Fraser <keir.fraser@citrix.com>
Thu, 17 Jun 2010 07:52:29 +0000 (08:52 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Thu, 17 Jun 2010 07:52:29 +0000 (08:52 +0100)
commitaa42fc0e9cd965a52fbcdc289bad94645ae59afe
treed8825f26808e6a773b9e9ddc6e20fd22d0110a63
parentcbfacd749c2522ef3645db7bbe7e6c0f214eea6d
cpuidle: remove hpet access in hpet_broadcast_exit

hpet_broadcast_exit calls reprogram_hpet to stop possible hpet intr if
the last deep-cstate waken up cpu is waken by unexpected intrs instead
of hpet broadcast handler. This can be removed without brings much
useless intrs, but bring chance for further optimization. It is a
tradeoff between grace & optimization.

BTW, move the cpumask set out of critial section in
hpet_broadcast_enter to shorten it.

Signed-off-by: Wei Gang <gang.wei@intel.com>
xen/arch/x86/hpet.c